package com.erp.erp_entitys.BillExchangeInfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Product {

    /**
     * 发票号码
     */
    private String invoiceNo;

    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 客户编码
     */
    private String custCode;

    /**
     * 客户来源（从客户主表获取）
     */
    private String source;
    /**
     * 价格术语
     */
    private String priceTerm;

    /**
     * 发票日期
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date invoiceDate;

    /**
     * 业务员
     */
    private String salesman;

    /**
     * 目的地
     */
    private String endPlace;

    /**
     * 月份（截取发票日期月份）
     */
    private String mon;
    /**
     * 批次
     */
    private String lot;
    /**
     * 产品编码
     */
    private String goodsCode;
    /**
     * 规格编码
     */
    private String specCode;
    /**
     * 产品中文名称
     */
    private String goodsCname;
    /**
     * 产品英文名称
     */
    private String goodsEname;
    /**
     * 产品中文描述
     */
    private String goodsCdesc;
    /**
     * 产品英文描述
     */
    private String goodsEdesc;
    /**
     * 外币单价(单价）
     */
    private BigDecimal funitprice;
    /**
     * 币种
     */
    private String moneyKind;
    /**
     * 美元汇率
     */
    private BigDecimal usd_rate;
    /**
     * 人民币汇率
     */
    private BigDecimal rmb_rate;

    /**
     * 数量
     */
    private BigDecimal lastAmount;
    /**
     * 单位
     */
    private String goodsUnit;
    /**
     * 外币金额小计（金额小计）
     */
    private BigDecimal ftotalprice;
    /**
     * 美元小计
     */
    private BigDecimal usb;
    /**
     * 人民币小计
     */
    private BigDecimal rmb;
    /**
     * 签约公司名称
     */
    private String companyName;
    /**
     * 配件成本
     */
    private BigDecimal accessoriesCost;
    /**
     * 配件成本
     */
    private BigDecimal costUnitPrice;
    /**
     * 成品成本
     */
    private BigDecimal finishedProductCost;
    /**
     * 成本小计
     */
    private BigDecimal costSubtotal;

    /**
     * 产品采购单号
     */
    private String productStockNo;
    /**
     * 产品供应商名称
     */
    private String supplyerName;
    /**
     * 外销合同号
     */
    private String contractNo;
    /**
     * 配件采购单
     */
    private String partOrder;
    /**
     * 配件供应商
     */
    private String partCompany;
    /**
     * 配件合计
     */
    private String partAllPlice;
    /**
     * 备货出运日期
     */
    private String TIME;
    /**
     * 业务模式
     */
    private String businessMode;
    /**
     * 是否含税
     */
    private String taxIncluded;

    public Product() {
    }

    public String getBusinessMode() {
        return businessMode;
    }

    public void setBusinessMode(String businessMode) {
        this.businessMode = businessMode;
    }

    public String getTaxIncluded() {
        return taxIncluded;
    }

    public void setTaxIncluded(String taxIncluded) {
        this.taxIncluded = taxIncluded;
    }

    public BigDecimal getCostUnitPrice() {
        return costUnitPrice;
    }

    public void setCostUnitPrice(BigDecimal costUnitPrice) {
        this.costUnitPrice = costUnitPrice;
    }

    public String getTIME() {
        return TIME;
    }

    public void setTIME(String TIME) {
        this.TIME = TIME;
    }

    public String getPartOrder() {
        return partOrder;
    }

    public void setPartOrder(String partOrder) {
        this.partOrder = partOrder;
    }

    public String getPartCompany() {
        return partCompany;
    }

    public void setPartCompany(String partCompany) {
        this.partCompany = partCompany;
    }

    public String getPartAllPlice() {
        return partAllPlice;
    }

    public void setPartAllPlice(String partAllPlice) {
        this.partAllPlice = partAllPlice;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPriceTerm() {
        return priceTerm;
    }

    public void setPriceTerm(String priceTerm) {
        this.priceTerm = priceTerm;
    }

    public Date getInvoiceDate() {
        return invoiceDate;
    }

    public void setInvoiceDate(Date invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public String getEndPlace() {
        return endPlace;
    }

    public void setEndPlace(String endPlace) {
        this.endPlace = endPlace;
    }

    public String getLot() {
        return lot;
    }

    public void setLot(String lot) {
        this.lot = lot;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getSpecCode() {
        return specCode;
    }

    public void setSpecCode(String specCode) {
        this.specCode = specCode;
    }

    public String getGoodsCname() {
        return goodsCname;
    }

    public void setGoodsCname(String goodsCname) {
        this.goodsCname = goodsCname;
    }

    public String getGoodsEname() {
        return goodsEname;
    }

    public void setGoodsEname(String goodsEname) {
        this.goodsEname = goodsEname;
    }

    public String getGoodsCdesc() {
        return goodsCdesc;
    }

    public String getCustCode() {
        return custCode;
    }

    public void setCustCode(String custCode) {
        this.custCode = custCode;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getMon() {
        return mon;
    }

    public void setMon(String mon) {
        this.mon = mon;
    }

    public BigDecimal getUsd_rate() {
        return usd_rate;
    }

    public void setUsd_rate(BigDecimal usd_rate) {
        this.usd_rate = usd_rate;
    }

    public BigDecimal getRmb_rate() {
        return rmb_rate;
    }

    public void setRmb_rate(BigDecimal rmb_rate) {
        this.rmb_rate = rmb_rate;
    }

    public void setGoodsCdesc(String goodsCdesc) {
        this.goodsCdesc = goodsCdesc;
    }

    public String getGoodsEdesc() {
        return goodsEdesc;
    }

    public void setGoodsEdesc(String goodsEdesc) {
        this.goodsEdesc = goodsEdesc;
    }

    public BigDecimal getFunitprice() {
        return funitprice;
    }

    public void setFunitprice(BigDecimal funitprice) {
        this.funitprice = funitprice;
    }

    public String getMoneyKind() {
        return moneyKind;
    }

    public void setMoneyKind(String moneyKind) {
        this.moneyKind = moneyKind;
    }

    public BigDecimal getLastAmount() {
        return lastAmount;
    }

    public void setLastAmount(BigDecimal lastAmount) {
        this.lastAmount = lastAmount;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public BigDecimal getFtotalprice() {
        return ftotalprice;
    }

    public void setFtotalprice(BigDecimal ftotalprice) {
        this.ftotalprice = ftotalprice;
    }

    public BigDecimal getUsb() {
        return usb;
    }

    public void setUsb(BigDecimal usb) {
        this.usb = usb;
    }

    public BigDecimal getRmb() {
        return rmb;
    }

    public void setRmb(BigDecimal rmb) {
        this.rmb = rmb;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public BigDecimal getAccessoriesCost() {
        return accessoriesCost;
    }

    public void setAccessoriesCost(BigDecimal accessoriesCost) {
        this.accessoriesCost = accessoriesCost;
    }

    public BigDecimal getFinishedProductCost() {
        return finishedProductCost;
    }

    public void setFinishedProductCost(BigDecimal finishedProductCost) {
        this.finishedProductCost = finishedProductCost;
    }

    public BigDecimal getCostSubtotal() {
        return costSubtotal;
    }

    public void setCostSubtotal(BigDecimal costSubtotal) {
        this.costSubtotal = costSubtotal;
    }

    public String getProductStockNo() {
        return productStockNo;
    }

    public void setProductStockNo(String productStockNo) {
        this.productStockNo = productStockNo;
    }

    public String getSupplyerName() {
        return supplyerName;
    }

    public void setSupplyerName(String supplyerName) {
        this.supplyerName = supplyerName;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }
}
